==Touhou Input Display==

A tiny tiny clever tool that reads the memory of Touhou games and gives a display of the game's inputs.
Auto-detects the running game based on its executable name.
Because it reads the game's memory, you can display the inputs of replays. It also isn't dependent on a specific key mapping or button config, or what input device you use at all. How fancy.

Currently supported games range from th06 to th15. 
th095 and th125 do not map all values properly so in order to display them correctly you will need to swap around the button positions in the .ini file.


Instructions:
- Launch Touhou game, run thinput.


Configuration:

[Window]
- KeyUpImg: Path to the image used for the keys not pushed. Relative to the working directory.
- KeyDownImg: Path to the image used for the keys pushed down. Relative to the working directory.
- BGColor: Color value for the background. Just use hex color values (e.g. FFFFFF).

[Buttons]
- Each key is mapped to an x,y position relative to the top-left margin of the window. Window expands to fit.
- You can change these positions if you want a different button layout. 
- To "remove" a button from view, just put it at some negative coordinates.

[AddressList]
- Each line lists a game's executable name and the address of its input bit vector.
- You can add or remove as many entries as you want, just make sure it works.
- Valid addresses start with 0x followed by 6~8 hex digits.
- Essentially this is here to add new executable names (e.g. th11boss.exe) and to offer forward-compatibility for new games.


Known Bugs:
- None so far!


thinput and icon by Drake (@drakeirving)